"use strict";var p=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var a in e)p(t,a,{get:e[a],enumerable:!0})},r=(t,e,a,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l(e))!M.call(t,i)&&i!==a&&p(t,i,{get:()=>e[i],enumerable:!(d=x(e,i))||d.enumerable});return t},o=(t,e,a)=>(r(t,e,"default"),a&&r(a,e,"default"));var m=t=>r(p({},"__esModule",{value:!0}),t);var n={};u(n,{createDynamicMiddleware:()=>D});module.exports=m(n);o(n,require("@reduxjs/toolkit"),module.exports);var h=require("@reduxjs/toolkit"),c=require("react-redux"),D=()=>{let t=(0,h.createDynamicMiddleware)(),e=(d=c.ReactReduxContext)=>{let i=d===c.ReactReduxContext?c.useDispatch:(0,c.createDispatchHook)(d);function s(...w){return t.addMiddleware(...w),i}return s.withTypes=()=>s,s},a=e();return{...t,createDispatchWithMiddlewareHookFactory:e,createDispatchWithMiddlewareHook:a}};
//# sourceMappingURL=redux-toolkit-react.production.min.cjs.map